package com.rs.service.impl.rs;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.rs.dao.AttendanceRulesMapper;
import com.rs.model.AttendanceRules;
import com.rs.service.rs.AttendanceRulesService;


@Service
public class AttendanceRulesServiceImpl implements AttendanceRulesService {
	@Autowired
	private AttendanceRulesMapper arDao;

	@Override
	public AttendanceRules rarSelectAll() {
		// TODO Auto-generated method stub
		return arDao.rarSelectAll();
	}

	@Override
	public void rarUpDate(AttendanceRules rar) {
		// TODO Auto-generated method stub
		arDao.updateByPrimaryKey(rar);
	}
}
